package com.hudson.broker.handler;

import com.hudson.codec.domain.RemotingCommand;
import io.netty.channel.ChannelHandlerContext;

public interface Process {

    /**
     * @param context netty上下文
     * @param remotingCommand request请求体
     * @return response ,自动写会channel
     */
    RemotingCommand process(ChannelHandlerContext context, RemotingCommand remotingCommand);

}
